import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import store from './store'

Vue.config.productionTip = false

router.beforeEach((to, from, next) => {
  window.document.title = to.meta.title;
  next()
})

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
